function calculateImagePixelsSize(var widthInCm, var heightInCm, var dpi){

}

function calculateImageCmSize(var widthInPixels, var heightInPixels, var dpi){

}
